[INFO] fetching crate degiro-tax-report 0.1.0...
[INFO] checking degiro-tax-report-0.1.0 against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] extracting crate degiro-tax-report 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate degiro-tax-report 0.1.0 on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate degiro-tax-report 0.1.0
[INFO] finished tweaking crates.io crate degiro-tax-report 0.1.0
[INFO] tweaked toml for crates.io crate degiro-tax-report 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate crates.io crate degiro-tax-report 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 14e68ef0d5665503a80d42d9d6ec1c9322a7c31d9b62e58ac2055d083fc0c14f
[INFO] running `Command { std: "docker" "start" "-a" "14e68ef0d5665503a80d42d9d6ec1c9322a7c31d9b62e58ac2055d083fc0c14f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14e68ef0d5665503a80d42d9d6ec1c9322a7c31d9b62e58ac2055d083fc0c14f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14e68ef0d5665503a80d42d9d6ec1c9322a7c31d9b62e58ac2055d083fc0c14f", kill_on_drop: false }`
[INFO] [stdout] 14e68ef0d5665503a80d42d9d6ec1c9322a7c31d9b62e58ac2055d083fc0c14f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f14837e7547df6a07e4c276dc7a62b97d18a33e48c3a66c1e72fcc1aaf8c4da5
[INFO] running `Command { std: "docker" "start" "-a" "f14837e7547df6a07e4c276dc7a62b97d18a33e48c3a66c1e72fcc1aaf8c4da5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling libc v0.2.113
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.134
[INFO] [stderr]    Compiling serde v1.0.134
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling futures-channel v0.3.19
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]     Checking futures-sink v0.3.19
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking futures-io v0.3.19
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling anyhow v1.0.53
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking lock_api v0.4.6
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking ord_subset v3.1.1
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]     Checking textwrap v0.14.2
[INFO] [stderr]     Checking rev_lines v0.2.1
[INFO] [stderr]    Compiling decimal v2.1.0
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling futures-macro v0.3.19
[INFO] [stderr]    Compiling clap_derive v3.0.14
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]     Checking tokio v1.16.1
[INFO] [stderr]     Checking clap v3.0.14
[INFO] [stderr]     Checking futures-executor v0.3.19
[INFO] [stderr]     Checking futures v0.3.19
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking dateparser v0.1.6
[INFO] [stderr]     Checking degiro-tax-report v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/degiro.rs:14:36
[INFO] [stdout]     |
[INFO] [stdout] 14  |     let tr_stream = CsvStream::new(iter);
[INFO] [stdout]     |                     -------------- ^^^^ expected `File`, found `DeserializeRecordsIter<'_, File, ...>`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `std::fs::File`
[INFO] [stdout]                found struct `DeserializeRecordsIter<'_, std::fs::File, Transaction, >`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 |     pub fn new(file: File) -> std::io::Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<CsvStream, std::io::Error>: futures_core::stream::Stream` is not satisfied
[INFO] [stdout]   --> tests/degiro.rs:16:50
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let portfolio = Portfolio::with_carry_losses(tr_stream, 5);
[INFO] [stdout]    |                     ---------------------------- ^^^^^^^^^ the trait `futures_core::stream::Stream` is not implemented for `Result<CsvStream, std::io::Error>`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures_core::stream::Stream`:
[INFO] [stdout]              &mut S
[INFO] [stdout]              AssertUnwindSafe<S>
[INFO] [stdout]              Box<S>
[INFO] [stdout]              CsvStream
[INFO] [stdout]              Pin<P>
[INFO] [stdout]              futures_channel::mpsc::Receiver<T>
[INFO] [stdout]              futures_channel::mpsc::UnboundedReceiver<T>
[INFO] [stdout]              futures_util::abortable::Abortable<St>
[INFO] [stdout]            and 71 others
[INFO] [stdout] note: required by a bound in `Portfolio::<S>::with_carry_losses`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/portfolio.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 | impl<S: Stream<Item = anyhow::Result<Transaction>>> Portfolio<S> {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Portfolio::<S>::with_carry_losses`
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn with_carry_losses(tr_stream: S, years_carry_losses: u8) -> Self {
[INFO] [stdout]    |            ----------------- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<CsvStream, std::io::Error>: futures_core::stream::Stream` is not satisfied
[INFO] [stdout]   --> tests/degiro.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let portfolio = Portfolio::with_carry_losses(tr_stream, 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures_core::stream::Stream` is not implemented for `Result<CsvStream, std::io::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures_core::stream::Stream`:
[INFO] [stdout]              &mut S
[INFO] [stdout]              AssertUnwindSafe<S>
[INFO] [stdout]              Box<S>
[INFO] [stdout]              CsvStream
[INFO] [stdout]              Pin<P>
[INFO] [stdout]              futures_channel::mpsc::Receiver<T>
[INFO] [stdout]              futures_channel::mpsc::UnboundedReceiver<T>
[INFO] [stdout]              futures_util::abortable::Abortable<St>
[INFO] [stdout]            and 71 others
[INFO] [stdout] note: required by a bound in `Portfolio`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/portfolio.rs:80:25
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct Portfolio<S: Stream<Item = anyhow::Result<Transaction>>> {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Portfolio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `report` exists for struct `Portfolio<Result<CsvStream, Error>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/degiro.rs:18:28
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let report = portfolio.report(2021).await.unwrap();
[INFO] [stdout]    |                            ^^^^^^ method cannot be called on `Portfolio<Result<CsvStream, Error>>` due to unsatisfied trait bounds
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/result.rs:502:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: doesn't satisfy `<_ as Stream>::Item = Result<Transaction, Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: doesn't satisfy `_: Stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<Result<CsvStream, std::io::Error> as futures_core::stream::Stream>::Item = Result<Transaction, anyhow::Error>`
[INFO] [stdout]            `Result<CsvStream, std::io::Error>: futures_core::stream::Stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `degiro-tax-report` (test "degiro") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "f14837e7547df6a07e4c276dc7a62b97d18a33e48c3a66c1e72fcc1aaf8c4da5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f14837e7547df6a07e4c276dc7a62b97d18a33e48c3a66c1e72fcc1aaf8c4da5", kill_on_drop: false }`
[INFO] [stdout] f14837e7547df6a07e4c276dc7a62b97d18a33e48c3a66c1e72fcc1aaf8c4da5
